package com.fire.eyes.model;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 主题货架货架表
 * </p>
 *
 * @author raoyuxing123
 * @since 2018-04-28
 */
@TableName("t_mit_shelf")
public class TMitShelf extends Model<TMitShelf> {

    private static final long serialVersionUID = 1L;

    /**
     * 货架或者主题ID
     */
    private Integer shelfid;
    /**
     * 0 pc,1 H5
     */
    private Integer platetype;
    /**
     * 货架或者主题名称
     */
    private String shelfname;
    /**
     * 创建时间
     */
    private Date createtime;
    /**
     * 主题对应url页面链接
     */
    private String shelfurl;
    /**
     * 0 失效，1 有效
     */
    private Integer status;


    public Integer getShelfid() {
        return shelfid;
    }

    public void setShelfid(Integer shelfid) {
        this.shelfid = shelfid;
    }

    public Integer getPlatetype() {
        return platetype;
    }

    public void setPlatetype(Integer platetype) {
        this.platetype = platetype;
    }

    public String getShelfname() {
        return shelfname;
    }

    public void setShelfname(String shelfname) {
        this.shelfname = shelfname;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getShelfurl() {
        return shelfurl;
    }

    public void setShelfurl(String shelfurl) {
        this.shelfurl = shelfurl;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    protected Serializable pkVal() {
        return this.shelfid;
    }

    @Override
    public String toString() {
        return "TMitShelf{" +
        "shelfid=" + shelfid +
        ", platetype=" + platetype +
        ", shelfname=" + shelfname +
        ", createtime=" + createtime +
        ", shelfurl=" + shelfurl +
        ", status=" + status +
        "}";
    }
}
